package Cecropia.DTO
{
	import mx.collections.ArrayCollection;

	[RemoteClass(alias="Cecropia.DTO.Facebook.Post")]
	public class Post
	{
		public function Post()
		{
		}
		private var _id:String;
		private var _message:String;
		private var _from:Person;
		private var _picture:String;
		private var _link:String;
		private var _source:String;
		private var _type:String;
		private var _attribution:String;
		private var _name:String;
		private var _caption:String;
		private var _description:String;
		private var _created_time:String;
		private var _updated_time:String;
		private var _icon:String;
		private var _actions:ArrayCollection;
		private var _likes:int;

		public function get likes():int
		{
			return _likes;
		}

		public function set likes(value:int):void
		{
			_likes = value;
		}

		public function get actions():ArrayCollection
		{
			return _actions;
		}

		public function set actions(value:ArrayCollection):void
		{
			_actions = value;
		}

		public function get icon():String
		{
			return _icon;
		}

		public function set icon(value:String):void
		{
			_icon = value;
		}

		public function get updated_time():String
		{
			return _updated_time;
		}

		public function set updated_time(value:String):void
		{
			_updated_time = value;
		}

		public function get created_time():String
		{
			return _created_time;
		}

		public function set created_time(value:String):void
		{
			_created_time = value;
		}

		public function get description():String
		{
			return _description;
		}

		public function set description(value:String):void
		{
			_description = value;
		}

		public function get caption():String
		{
			return _caption;
		}

		public function set caption(value:String):void
		{
			_caption = value;
		}

		public function get name():String
		{
			return _name;
		}

		public function set name(value:String):void
		{
			_name = value;
		}

		public function get attribution():String
		{
			return _attribution;
		}

		public function set attribution(value:String):void
		{
			_attribution = value;
		}

		public function get type():String
		{
			return _type;
		}

		public function set type(value:String):void
		{
			_type = value;
		}

		public function get source():String
		{
			return _source;
		}

		public function set source(value:String):void
		{
			_source = value;
		}

		public function get link():String
		{
			return _link;
		}

		public function set link(value:String):void
		{
			_link = value;
		}

		public function get picture():String
		{
			return _picture;
		}

		public function set picture(value:String):void
		{
			_picture = value;
		}

		public function get from():Person
		{
			return _from;
		}
		
		public function get fromname():String
		{
			return _from.name;
		}

		public function set fromname(value:String):void
		{
			_from.name = value;
		}

		public function set from(value:Person):void
		{
			_from = value;
		}

		public function get message():String
		{
			return _message;
		}

		public function set message(value:String):void
		{
			_message = value;
		}

		public function get id():String
		{
			return _id;
		}

		public function set id(value:String):void
		{
			_id = value;
		}

	}
}